list1 = input().split(',')

list1.sort()

for x in list1 : 
    print(x, end = ',')